db_delete('gg_favorite_thread', array('tid'=>$tid));